﻿using System;
using System.Collections.Generic;
using System.Text;

public class NetHandler_ZLog: NetMessageHandler
{
    public const string key = "ZLog";

    public static NetHandler_ZLog NewHandler()
    {
        return new NetHandler_ZLog();
    }
    
    protected override ISerialize NewData() => new ZLogRequestData();

    public override void Execute(Remote TCPRemote, ISerialize data)
    {
        ZLogRequestData zLog = data as ZLogRequestData;

        //GameDebug.Log($"{zLog.userId} 请求取消匹配");
        string fileName = $"{zLog.key}_{TCPRemote.userID}_ZLog";
        GameDebug.Log(zLog.log, fileName);

    }
}

